﻿<UserControl x:Class="PhotoBrowserAg.Login"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             Width="400"
             Height="231" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="20,20,0,0">
    <Grid x:Name="LayoutRoot"
          Margin="20"
          Width="360"
          Height="191">
        <Rectangle x:Name="dropshadow"
                   StrokeThickness="3"
                   Stroke="#CC4F4A4A"
                   RadiusX="8"
                   RadiusY="8"
                   Margin="0,0,-3,-3" />
        <Rectangle x:Name="border"
                   StrokeThickness="1"
                   Stroke="White"
                   RadiusX="8"
                   RadiusY="8"
                   Fill="#CC000000" />
        <Grid x:Name="BoxContents"
              Margin="10">
            <Grid.RowDefinitions>
                <RowDefinition />
                <RowDefinition Height="38" />
            </Grid.RowDefinitions>
            <StackPanel Margin="17,0,0,8"
                        Orientation="Horizontal"
                        Grid.Row="1">
                <Button x:Name="btnLogin"
                        HorizontalAlignment="Left"
                        Margin="0,0,10,0"
                        FontFamily="{StaticResource defaultFontFamily}"
                        FontSize="{StaticResource defaultFontSize}"
                        Content="Login"
                        Background="#FF61707E" />
                <Button x:Name="btnClose"
                        Margin="0,0,10,0"
                        FontFamily="{StaticResource defaultFontFamily}"
                        FontSize="{StaticResource defaultFontSize}"
                        Content="Close"
                        Background="#FF61707E" />
            </StackPanel>
        </Grid>
        <TextBlock Height="30"
                   HorizontalAlignment="Left"
                   Margin="17,38,0,0"
                   VerticalAlignment="Top"
                   Width="90"
                   Text="Password:"
                   TextWrapping="Wrap"
                   Foreground="White"
                   FontFamily="{StaticResource defaultFontFamily}"
                   FontSize="{StaticResource defaultFontSize}" 
                   />
        <TextBox x:Name="txtPassword"
                 Height="30"
                 Margin="120,38,47,0"
                 VerticalAlignment="Top"
                 TextWrapping="Wrap"
                 Foreground="BlueViolet"
                 FontFamily="{StaticResource defaultFontFamily}"
                 FontSize="{StaticResource defaultFontSize}" />
        <TextBlock x:Name="txtInvalid"
                   Margin="20,80,20,70"
                   Text="Invalid password. Call Mark's cell 970.310.3426. (Yes, you too Mehul ;) )"
                   TextWrapping="Wrap"
                   Foreground="Red"
                   Visibility="Collapsed"
                   FontFamily="{StaticResource defaultFontFamily}"
                   FontSize="{StaticResource defaultFontSize}"
                   Width="300"
                   Height="300" />
    </Grid>

</UserControl>
